package exercise3;

public class Cycle extends BaseExample {
//	嵌套循环
	public void nesting_loop() {
		StringBuilder str = new StringBuilder();
		str.append("\n");
		for (int i = 1; i <= 6; i++) {
			for (int j = 1; j <= 7 - i; j++) {
				str.append(j + " ");
			}
			str.append("\n");
		}
		this.logger.info(str);
	}
}
